{strip}
<table border=0 cellpadding=0 cellspacing=0 background="/img/bg.jpg">
	<tr>
		<td bgcolor=#000000>
			<img src="/img/0.gif" border=0 width=1 height=1>
		</td>
	</tr>

	{foreach item=m from=$mainMenu}
		{if $m->nestingDepth() == 0}
			<tr>
				<td class=m0 style="white-space:nowrap;">
					<a href="{$m->link()}" class=menu0{if $m->id()==$page->id()}a{/if}>
						<img src="/img/b.gif" border=0 width=30 height=30 align="absmiddle">{$m->menuName()}
					</a>
				</td>
			</tr>
		{elseif $m->nestingDepth() == 1}
			<tr>
				<td style="white-space:nowrap;">
					<a href="{$m->link()}" class=menu1{if $m->id()==$page->id() || $m->isAncestorOf($page->id())}a{/if}>
					    <img src="/img/bul.gif" border=0 align="absmiddle">{$m->menuName()}
					</a>
				</td>
			</tr>
		{/if}
	{/foreach}
	
	<tr>
		<td bgcolor=#000000><img src="/img/0.gif" border=0 width=1 height=1></td>
	</tr>
</table>
{/strip}